<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/6
 * Time: 11:15
 */
if(!empty($_COOKIE['Token'])){
    echo '<h1>用户中心页面</h1>';
    echo '登入成功';
    echo '<a href="">退出登入</a>';
    echo '<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<form action="tupian.php" method="post">
		上传头像:<input type="file" name="file" id="file" value="" />
		<input type="submit" name="提交">
		</form>
	</body>
	
</html>';
}else{
    echo '登入失败';
}